package com.xingfudazi.app.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xingfudazi.common.annotation.Excel;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author YuJiaMing
 * date 2024年06月22日 22:05
 */
@Data
public class AppRoleApply {


    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 会员id
     */
    private Long nid;

    /**
     * 类型，会员、红娘、教练
     */
    @Excel(name = "类型，会员、红娘、教练")
    private String type;


    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickName;

    /**
     * 真实名字
     */
    @Excel(name = "真实名字")
    private String relName;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String phone;

    /**
     * 介绍
     */
    @Excel(name = "介绍")
    private String introduce;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT, value = "create_time")
    private LocalDateTime createTime;

    /**
     * 状态
     */
    private String status;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dealTime;
}
